package com.smgeek.gkrpc;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @ClassName Response
 * @Author wuyuyang
 * @Date 2022/1/5 17:46
 * @Description Response
 * @Version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Response {
    /**
     * 服务返回编码,0-成功,非0失败
     */
    private Integer code = 0;
    /**
     * 具体的错误信息
     */
    private String message = "ok";
    /**
     * 返回的数据
     */
    private Object data;
}
